package com.game.global;

import com.game.util.PropertiesUtil;

/**
 * Created by tjc on 2019-3-16.
 *
 * @auther: tjc
 * @Date: 2019-3-16
 */
public abstract class Const {

    /**
     * 窗口常量设置
     */
    public final static int DEFAULT_WINDOW_WIDTH = PropertiesUtil.loadInt("window.width");
    public final static int DEFAULT_WINDOW_LENGTH = PropertiesUtil.loadInt("window.length");
    public final static int DEFAULT_PLAY_WIDTH = PropertiesUtil.loadInt("play.width");
    public final static int DEFAULT_PLAY_LENGTH = PropertiesUtil.loadInt("play.length");

    public final static int MODEL_TANK = 1;
    public final static int MODEL_WALL = 2;
    public final static int MODEL_BULLET = 3;
    /**
     * 方向
     */
    public final static int DIRECTION_UP = 3;
    public final static int DIRECTION_DOWN = 2;
    public final static int DIRECTION_LEFT = 1;
    public final static int DIRECTION_RIGHT = 0;
    public final static int DIRECTION_NONE = -1;

}
